package com.yanqu.backendweb.bean;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.math.BigInteger;
import java.util.List;

/**
 * @author duli
 * @version 1.0
 * @date 2020/10/15 14:11
 * @Description 商铺
 */
public class BuildingDto {
    @Data
    public static class Base{
        private String type="all";
        private List<Building> list;
        private int count;
        private BuildingField field;
    }
    @Data
    public static class Building{

        /**
         * 商铺名称
         */
        private String building_name;
        /**
         * 商铺ID
         */
        private int building_id;
        /**
         *商铺等级
         * */
        private int level;
        /*商铺伙计*/
        private int staff_count;
        /*商铺赚钱速度 TODO 计算公式*/
        @JsonIgnore
        private BigInteger buildingEarnSpeed = BigInteger.ZERO;
        /*当前派遣门客*/

        private String patrons_ids;
        /*当前派遣加成*/
        /*钱庄加成*/
        /*府邸加成*/
        /*美女加成*/
        /*商会加成*/

    }
    @Data
    public static class BuildingField extends RoleInfoObject{
        /**
         * 商铺数量
         * */
        private long num;
        /**
         * 商铺总赚钱
         * */
        @JsonIgnore
        private BigInteger total_ability;
    }
}
